package edu.cebanc.spring.biblioteca.services;

import java.util.List;

import edu.cebanc.spring.biblioteca.bean.AuthorBean;
import edu.cebanc.spring.biblioteca.bean.BookBean;
import edu.cebanc.spring.biblioteca.bean.GenreBean;

public interface BooksService {
	public void saveBook(BookBean book);
	public List<BookBean> listBooks();
	public BookBean loadBook(String id);
	public void deleteBook(String id);
	public List<AuthorBean> getAuthors(BookBean bb);
	public List<GenreBean> getGenre(BookBean bb);
	public void addAuthor2Book(BookBean bb, AuthorBean ab);
	public void addGenre2Book(BookBean bb, GenreBean gb);

}
